package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 监测数据对象 monitoring_data
 * 
 * @author ruoyi
 * @date 2025-03-03
 */
public class MonitoringData extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 数据id */
    private String dataId;

    /** 设备id */
    @Excel(name = "设备id")
    private Long deviceId;

    /** 设备类型id */
    @Excel(name = "设备类型id")
    private Long deviceTypeId;

    /** 区域id */
    @Excel(name = "区域id")
    private Long areaId;

    /** 矿山id */
    @Excel(name = "矿山id")
    private Long mineId;

    /** 监测点位置 */
    @Excel(name = "监测点位置")
    private String monitorLocation;

    /** 记录时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "记录时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date recordTime;

    /** 监测数值 */
    @Excel(name = "监测数值")
    private BigDecimal monitorValue;

    /** 当前状态 */
    @Excel(name = "当前状态")
    private String status;

    /** 触发操作 */
    @Excel(name = "触发操作")
    private String operation;

    /** 详细描述 */
    @Excel(name = "详细描述")
    private String details;

    public void setDataId(String dataId) 
    {
        this.dataId = dataId;
    }

    public String getDataId() 
    {
        return dataId;
    }
    public void setDeviceId(Long deviceId) 
    {
        this.deviceId = deviceId;
    }

    public Long getDeviceId() 
    {
        return deviceId;
    }
    public void setDeviceTypeId(Long deviceTypeId) 
    {
        this.deviceTypeId = deviceTypeId;
    }

    public Long getDeviceTypeId() 
    {
        return deviceTypeId;
    }
    public void setAreaId(Long areaId) 
    {
        this.areaId = areaId;
    }

    public Long getAreaId() 
    {
        return areaId;
    }
    public void setMineId(Long mineId) 
    {
        this.mineId = mineId;
    }

    public Long getMineId() 
    {
        return mineId;
    }
    public void setMonitorLocation(String monitorLocation) 
    {
        this.monitorLocation = monitorLocation;
    }

    public String getMonitorLocation() 
    {
        return monitorLocation;
    }
    public void setRecordTime(Date recordTime) 
    {
        this.recordTime = recordTime;
    }

    public Date getRecordTime() 
    {
        return recordTime;
    }
    public void setMonitorValue(BigDecimal monitorValue) 
    {
        this.monitorValue = monitorValue;
    }

    public BigDecimal getMonitorValue() 
    {
        return monitorValue;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setOperation(String operation) 
    {
        this.operation = operation;
    }

    public String getOperation() 
    {
        return operation;
    }
    public void setDetails(String details) 
    {
        this.details = details;
    }

    public String getDetails() 
    {
        return details;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("dataId", getDataId())
            .append("deviceId", getDeviceId())
            .append("deviceTypeId", getDeviceTypeId())
            .append("areaId", getAreaId())
            .append("mineId", getMineId())
            .append("monitorLocation", getMonitorLocation())
            .append("recordTime", getRecordTime())
            .append("monitorValue", getMonitorValue())
            .append("status", getStatus())
            .append("operation", getOperation())
            .append("details", getDetails())
            .toString();
    }
}
